package com.flower.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.flower.domain.vo.buyer.ProductDetailVO;
import com.flower.domain.dto.buyer.product.ProductHotDto;
import com.flower.domain.dto.buyer.product.ProductQueryDto;
import com.flower.domain.entity.Product;

import java.util.List;

/**
* @author 86178
* @description 针对表【product(商品详情表)】的数据库操作Service
* @createDate 2025-03-04 12:26:59
*/
public interface ProductService extends IService<Product> {
    Page<ProductDetailVO> pageList(ProductQueryDto queryDto);
    ProductDetailVO getProductDetail(Integer id);

    List<ProductHotDto> getHotProductList();

    boolean updateClickCountById(Integer id);
    
    // 获取店铺商品列表
    Page<ProductDetailVO> getShopProducts(ProductQueryDto queryDto);
}
